# D:\Python1\022\05.集合中移除元素.py
thisset=set(("Google","Qazaqsoft","Taobao"))
thisset.remove("Taobao")
print(thisset)
# 结果: {'Qazaqsoft', 'Google'}
thisset.remove("Facebook")   # 不存在会发生错误

"""
Traceback (most recent call last):
  File "D:/Python1/022/05.集合中移除元素.py", line 6, in <module>
    thisset.remove("Facebook")   # 不存在会发生错误
KeyError: 'Facebook'

"""